<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ include file="../../base.jsp"%>
<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
</head>
<body>
<div id="frameContent" class="content-wrapper" style="margin-left:0px;">
    <!-- 内容头部 -->
    <section class="content-header">
        <h1>
            货运管理
            <small>新增委托书</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="all-admin-index.html"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="all-order-manage-list.html">货运管理</a></li>
            <li class="active">新增委托书</li>
        </ol>
    </section>
    <!-- 正文区域 -->
    <section class="content">
        <form action="/cargo/shipping/edit.do" method="post">
        <div class="panel panel-default">
            <div class="panel-heading">对【${id}】委托</div>
            <input type="hidden" name="shippingListId" value="${id}">
            <div class="row data-type" style="margin: 0px">
                <%--<div class="col-md-2 title">报运合同号</div>--%>
                <%--<div class="col-md-4 data">--%>
                    <%--<input type="text" class="form-control" placeholder="报运合同号" name="exportIds" value="${packing.exportIds}"/>--%>
                <%--</div>--%>
                <div class="col-md-2 title">运输方式</div>
                <div class="col-md-4 data">
                    <div class="form-group form-inline">
                        <div class="radio"><label><input type="radio" ${shipping.transoprt==0?'checked':''} name="transoprt" value="0">海运</label></div>
                        <div class="radio"><label><input type="radio" ${shipping.transoprt==1?'checked':''} name="transoprt" value="1">空运</label></div>
                    </div>
                </div>
                <%--<div class="col-md-2 title">装箱时间</div>--%>
                <%--<div class="col-md-4 data">--%>
                    <%--<div class="input-group date">--%>
                        <%--<div class="input-group-addon">--%>
                            <%--<i class="fa fa-calendar"></i>--%>
                        <%--</div>--%>
                        <%--<input type="text" placeholder="装箱时间" class="form-control pull-right" name="createTime"--%>
                               <%--value="${packing.createTime}" id="datetime">--%>
                    <%--</div>--%>
                <%--</div>--%>

                <div class="col-md-2 title">货主</div>
                <div class="col-md-4 data">
                    <input type="text" class="form-control" placeholder="货主" name="hoster" value="${shipping.hoster}"/>
                </div>

                <div class="col-md-2 title">提单抬头</div>
                <div class="col-md-4 data">
                    <input type="text" name="title" class="form-control" placeholder="提单抬头"value="${shipping.title}"/>
                </div>

                <div class="col-md-2 title">正本通知人</div>
                <div class="col-md-4 data">
                    <input type="text" name="person" class="form-control" placeholder="正本通知人" value="${shipping.person}"/>
                </div>

                <div class="col-md-2 title">信用证号</div>
                <div class="col-md-4 data">
                    <input type="text" name="credit" class="form-control" placeholder="信用证号" value="${shipping.credit}"/>
                </div>

                <div class="col-md-2 title">唛头</div>
                <div class="col-md-4 data">
                    <input type="text" name="marks" class="form-control" placeholder="唛头" value="${shipping.marks}">
                </div>

                <div class="col-md-2 title">装运港</div>
                <div class="col-md-4 data">
                    <input type="text" name="shipmentPort" class="form-control" placeholder="装运港" value="${shipping.shipmentPort}"/>
                </div>

                <div class="col-md-2 title">转运港</div>
                <div class="col-md-4 data">
                    <input type="text" name="transshipmentPort" class="form-control" placeholder="转运港" value="${shipping.transshipmentPort}"/>
                </div>

                <div class="col-md-2 title">卸货港</div>
                <div class="col-md-4 data">
                    <input type="text" name="destinationPort" class="form-control" placeholder="卸货港" value="${shipping.destinationPort}"/>
                </div>

                <div class="col-md-2 title">是否分批</div>
                <div class="col-md-4 data">
                    <div class="form-group form-inline">
                        <div class="radio"><label><input type="radio" ${shipping.batches==0?'checked':''} name="batches" value="0">是</label></div>
                        <div class="radio"><label><input type="radio" ${shipping.batches==1?'checked':''} name="batches" value="1">否</label></div>
                    </div>
                </div>

                <div class="col-md-2 title">是否转船</div>
                <div class="col-md-4 data">
                    <div class="form-group form-inline">
                        <div class="radio"><label><input type="radio" ${shipping.transshipment==0?'checked':''} name="transshipment" value="0">是</label></div>
                        <div class="radio"><label><input type="radio" ${shipping.transshipment==1?'checked':''} name="transshipment" value="1">否</label></div>
                    </div>
                </div>

                <div class="col-md-2 title">概要说明</div>
                <div class="col-md-4 data">
                    <input type="text" name="accountFor" class="form-control" placeholder="概要说明" value="${shipping.accountFor}"/>
                </div>

            </div>
        </div>
        <!--工具栏-->
        <div class="box-tools text-center">
            <button type="submit"  class="btn bg-maroon">保存</button>
            <button type="button" class="btn bg-default" onclick="history.back(-1);">返回</button>
        </div>
        </form>
        <!--工具栏/-->
    </section>
</div>
<!-- 内容区域 /-->
</body>

<%--<script src="../../../plugins/datepicker/bootstrap-datepicker.js"></script>--%>
<%--<script src="../../../plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>--%>
<%--<link rel="stylesheet" href="../../../css/style.css">--%>
<%--<script>--%>
    <%--$('#datetime').datepicker({--%>
        <%--autoclose: true,--%>
        <%--format: 'yyyy-mm-dd'--%>
    <%--});--%>
<%--</script>--%>
</html>